package demo1;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

@Component
@Repository
@Service
@Controller
public class User {
    public void sayHello(){
        System.out.println("hello!!!");
    }
}
